package com.homework.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import java.util.Date;

/**
 * @desc:
 * @author: huai_nian
 * @date:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Configuration
@Scope("singleton")
public class User {

  private Long id;
  private String userId;
  private String username;
  private String password;
  private String salt;
  private String nickname;
  private String email;
  private String phone;
  private String sex;
  private Long age;
  private String img;
  private String status;
  private Date createTime;
  private Date updateTime;
  private Date lastLoginTime;

}
